can we access non static inside static in java